<extend name="common:commonTemplate" />

<block name="main_content">

<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li><i class="icon-home home-icon"></i> <a href="#">首页</a> <span
				class="divider"> <i class="icon-angle-right arrow-icon"></i>
			</span></li>
			<li class="active">订单管理</li>
		</ul>
		<!--.breadcrumb-->


	</div>
	
	<div class="page-content">
		<div class="page-header position-relative">
			<h1>
				订单管理 <small> <i class="icon-double-angle-right"></i> 订单对账
				</small>
			</h1>
		</div>
		<!--/.page-header-->

		<div class="row-fluid">
			<div class="widget-box transparent">
				<div class="widget-header widget-header-flat"
					style="margin-left: 18%; width: 70%;">
					<h4 class="lighter">
						<i class="icon-star orange"></i> 搜索条件
					</h4>
				</div>
				<table>
					<tr>
						<td>
							<div class="widget-body">
								<div class="widget-main">
									<div class="span12">
										<div class="form-horizontal">
											<div class="control-group">
												<div class="controls" style="margin-left: 10px;">
													<table>
														<tr>
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">原始订单编号</label>
																	<input id="thirdOrderId" type="text"
																	placeholder="输入订单编号，支持模糊查询"> <span
																	class="help-inline">(淘宝、京东等第三方订单编号)</span>
															</span></td>
															
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">是否返现导入</label>
																	<select id="cash_back_status" >
																		<option value="">全部</option>
																		<option value="0">未导入</option>
																		<option value="1">导入
																		</option>
																</select>
															</span></td>
														</tr>
														
														<tr>
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">收货人姓名</label>
																	<input id="consignee_name" type="text"> 
															</span></td>
															
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">收货人手机号码</label>
																	<input id="consignee_cellphone" type="text"> 
															</span></td>
														</tr>
														
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">内部订单编号</label>
																	<input id="orderId" type="text"
																	placeholder="输入订单编号，支持模糊查询"> <span
																	class="help-inline">(内部订单编号)</span>
															</span></td>
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">收货人地址信息</label>
																	<input id="reveiverAdd" type="text"
																	placeholder="支持模糊查询">
															</span></td>
														</tr>
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">订单状态</label>
																	<select id="orderStatus">
																		<option value="">全部</option>
																		<option value="10">已提交</option>
																		<option value="11">已审核</option>
																		<option value="12">订单处理中</option>
																		<option value="21">待支付</option>
																		<option value="22">已支付</option>
																		<option value="25">物流处理中</option>
																		<option value="31">已发货</option>
																	    <option value="32">已签收</option>
																		<option value="35">已完成</option>
																		<option value="41">退货中</option>
																		<option value="42">退货完成</option>
																		<option value="43">换货中</option>
																		<option value="44">换货完成</option>
																		<option value="51">用户取消</option>
																		<option value="52">客服取消</option>
																		<option value="53">系统自动取消</option>
																</select>
															</span></td>
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">下单时间</label>
																	<input id="orderStartDate" class="laydate-icon"
																	onclick="laydate()" readonly> - <input
																	id="orderEndDate" onclick="laydate()"
																	class="laydate-icon" readonly>
															</span></td>
														</tr>
														
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">发票形式</label>
																	<select id="invoiceKind" >
																		<option value="">全部</option>
																		<option value="0">不开发票</option>
																		<option value="11">天猫-电子发票
																		</option>
																		<option value="12">天猫纸质发票</option>
																		<option value="21">电子发票</option>
																		<option value="22">纸质普票</option>
																		<option value="23">纸质专票</option>
																		
																</select>
															</span></td>
															
																<td>
											 					<span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">发票开付状态</label>
																	<select id="invoiceStatus" >
																		<option value="">全部</option>
																		<option value="1">未开</option>
																		<option value="2">开票中（未向服务商提交）</option>
																		<option value="3">开票中（已向服务商提交）</option>
																		<option value="4">服务商开票完成待回传</option>
																		<option value="5">开票失败</option>
																		<option value="9">发票下载失败</option>
																		<option value="11">天猫预上传失败</option>
																		<option value="12">蓝票开取成功</option>
																		<option value="13">天猫上传异常</option>
																		<option value="14">冲红完成</option>
																		<option value="15">纸质发票申请成功</option>
																</select>
															</span> 
															
															</td>
														</tr>
														
														<tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">订单类型</label>
																	<select id="orderType" >
																		<option value="">-----全部-----</option>
																		<option value="1">天猫</option>
																		<option value="2">京东</option>
																		<option value="3">官网</option>
																		<option value="5">英雄会</option>
																		<option value="6">村淘</option>
																		<option value="7">天猫企业采购</option>
																		<option value="8">经销商订单</option>
																		<option value="13">等级品销售</option>
																</select>
															</span></td>
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">发票开取日期</label>
																	<input id="invoiceDate" class="laydate-icon"
																	onclick="laydate()" readonly>  
															</span></td>
														</tr>
														
												      <tr style="height: 40px;">
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">存在留言(买家或卖家)</label>
																<input type="checkbox" name='buyer_message' id='buyer_message' style="position:relative;width: 50px; opacity: 100;">	 
															</span></td>
															
															<td><span class="help-inline"> <label
																	class="control-label" style="margin-right: 10px;">订单完成日期</label>
																	<input id="orderEndTime" class="laydate-icon"
																	onclick="laydate()" readonly>  
																	 - <input
																	id="orderEndTimeEnd" onclick="laydate()"
																	class="laydate-icon" readonly>
															</span></td>

														</tr>
														
													</table>

												</div>
											</div>



										</div>
									</div>


								</div>


							</div> <!--/widget-body-->
						</td>
						<td>
							<div style="text-align: right; padding-right: 45%;">
								<button style="width: 100px; height: 100px; font-size: 30px;"
									class="btn btn-primary" id="btnSubmit">搜索</button>
							</div>
						</td>
					</tr>
				</table>

				<div style="margin-left: 220px; width: 70%; color: red;"
					class="widget-header widget-header-flat">
					用于查询来源于第三方的订单和第三方物流的发货单据的比对结果。</div>
			</div>
		</div>
		<!--/.row-fluid-->

		<div class="row-fluid">
		 <div>
			<h3 style="line-height: 45px;" class="header smaller lighter blue">
				搜索结果 <span style="float: right; margin-right: 20px;">
					<button id="exportExcel"  class="btn btn-primary"
						style="width: 60px; height: 60px;">
						<i class="icon-save bigger-160"></i>
					</button>
					
					<button id="orderInfoexportExcel"  class="btn btn-primary"
						style="width: 60px; height: 60px;" >
						详情
					</button>
				</span>
			</h3>
			</div>
			<div class="table-header">搜索结果来自于搜索条件</div>
			<div>
				<table id="tbl_order_info"
					class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th>订单编号</th>
							<th>订单类型</th>
							<th>订单状态</th>
							<th>发票开付状态</th>
							<th>买家支付宝号</th>
							<th>买家名</th>
							<th>买家昵称</th>
							<th>买家留言</th>
							<th>卖家留言</th>
							<th>发票名称</th>
							<th>发票金额</th>
							<th>收货人姓名</th>
							<th>商品总金额</th>
							<th>应付金额</th>
							<th>运费</th>
							<th>订单优惠金额</th>
							<th>订单总金额</th>
							<th>公司实际收入金额</th>
							<th>订单创建时间</th>
							<th>返现是否导入</th>

							
						</tr>
					</thead>

					<tbody>
						<tr>
							<td colspan='17'>无</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<div id='div_pageInfo' class="row-fluid">
			<ul class="pager">
				<li><a href="#">首页</a></li>
				<li><a href="#">← 上一页</a></li>
				<li><a href="#">下一页 →</a></li>
				<li><a href="#">尾页</a></li>
				<li>共0条 共0页 到<input type="number" style="width: 50px;">页
				</li>
			</ul>
		</div>

	</div>
	<!--/.page-content-->


</div>
<!--/.main-content-->
</block>





<block name="inner_script">
<script>
	var module_name = 'order';
	var page_name = 'order_info'; 
</script>

<script src="../../../Public/assets/js/ace-elements.min.js"></script>
		<script src="../../../Public/assets/js/ace.min.js"></script>
		<script src="../../../Public/js/laydate/laydate.js"></script>
		<script src="/Public/js/ajaxService.js"></script>
		<script src="/Public/js/project/common.js"></script>
		<script src="../../../Public/js/order.js"></script>
</block>



